home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-20 / exam.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1988-11-08  |  894b  |  41 lines

  1. echo = off
  2. cls
  3. If %1z==A:z goto COLON
  4. If %1z==a:z goto COLON
  5. If %1z==B:z goto COLON
  6. If %1z==b:z goto COLON
  7. Echo INSTALL procedure requires disk drive codes
  8. Echo   To install from A to C type:
  9. Echo                   INSTALL A: C:
  10. Echo  
  11. Echo Re-execute INSTALL with a disk drive code
  12. Echo INSTALL has been cancelled
  13. Goto Finis
  14. :COLON
  15. If %2z==C:z goto COLON2
  16. If %2z==c:z goto COLON2
  17. If %2z==D:z goto COLON2
  18. If %2z==d:z goto COLON2
  19. Echo INSTALL procedure requires disk drive codes
  20. Echo   To install from A to C type:
  21. Echo                   INSTALL A: C:
  22. Echo  
  23. Echo Re-execute INSTALL with a disk drive code
  24. Echo INSTALL has been cancelled
  25. Goto Finis
  26. :COLON2
  27. %2
  28. md \tutor
  29. cd\tutor
  30. copy %1\*.*
  31. copy %1\tutor.bat %2\
  32. cls
  33. echo  Insert Data disk into drive %1
  34. pause
  35. copy %1\*.*
  36. cd\
  37. cls
  38. echo  Installation is complete on %2
  39. echo  Execute by typing TUTOR
  40. :Finis
  41.